wayland: Wait for output and seat information
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Apr 2015 04:14:20 +0000 (00:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Apr 2015 04:14:20 +0000 (00:14 -0400)
commitb2e19866ea2ccaca9593f4f4b954ab9d70791dab
treec20749ceb6bc8e7f1246b02ffa6d4f5bb31919b0
parentda16947e21225f0fd575279afaf5ba6ae482dd49
wayland: Wait for output and seat information

When we open the connection, we get the wl_output object,
but we return before all the information such as monitor
geometry has arrived, which causes us to misinform early
users of this information. Do a roundtrip here that causes
us to wait until the information is complete. Do the same
for seats, just in case.
https://bugzilla.gnome.org/show_bug.cgi?id=747471
gdk/wayland/gdkdisplay-wayland.c